package cn.itcast.domain.cargo;

import cn.itcast.domain.BaseEntity;

import java.io.Serializable;
import java.math.BigDecimal;

public class Packing extends BaseEntity implements Serializable {
    private String id; //集装箱编号
    private String seller; //卖家地址
    private String buyer; //买家地址
    private String marks; //唛头
    private String description; //描述
    private String exportIds; //报运单ID集合
    private String exportNos; //报运合同号
    private Integer state; //状态
    private BigDecimal grossWeights; //总毛重
    private BigDecimal netWeights; //总净重
    private BigDecimal totalVolume; //总体积

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.id
     *
     * @return the value of co_packing.id
     *
     * @mbg.generated
     */
    public String getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.id
     *
     * @param id the value for co_packing.id
     *
     * @mbg.generated
     */
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.seller
     *
     * @return the value of co_packing.seller
     *
     * @mbg.generated
     */
    public String getSeller() {
        return seller;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.seller
     *
     * @param seller the value for co_packing.seller
     *
     * @mbg.generated
     */
    public void setSeller(String seller) {
        this.seller = seller == null ? null : seller.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.buyer
     *
     * @return the value of co_packing.buyer
     *
     * @mbg.generated
     */
    public String getBuyer() {
        return buyer;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.buyer
     *
     * @param buyer the value for co_packing.buyer
     *
     * @mbg.generated
     */
    public void setBuyer(String buyer) {
        this.buyer = buyer == null ? null : buyer.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.marks
     *
     * @return the value of co_packing.marks
     *
     * @mbg.generated
     */
    public String getMarks() {
        return marks;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.marks
     *
     * @param marks the value for co_packing.marks
     *
     * @mbg.generated
     */
    public void setMarks(String marks) {
        this.marks = marks == null ? null : marks.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.description
     *
     * @return the value of co_packing.description
     *
     * @mbg.generated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.description
     *
     * @param description the value for co_packing.description
     *
     * @mbg.generated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.export_ids
     *
     * @return the value of co_packing.export_ids
     *
     * @mbg.generated
     */
    public String getExportIds() {
        return exportIds;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.export_ids
     *
     * @param exportIds the value for co_packing.export_ids
     *
     * @mbg.generated
     */
    public void setExportIds(String exportIds) {
        this.exportIds = exportIds == null ? null : exportIds.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.export_nos
     *
     * @return the value of co_packing.export_nos
     *
     * @mbg.generated
     */
    public String getExportNos() {
        return exportNos;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.export_nos
     *
     * @param exportNos the value for co_packing.export_nos
     *
     * @mbg.generated
     */
    public void setExportNos(String exportNos) {
        this.exportNos = exportNos == null ? null : exportNos.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.state
     *
     * @return the value of co_packing.state
     *
     * @mbg.generated
     */
    public Integer getState() {
        return state;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.state
     *
     * @param state the value for co_packing.state
     *
     * @mbg.generated
     */
    public void setState(Integer state) {
        this.state = state;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.gross_weights
     *
     * @return the value of co_packing.gross_weights
     *
     * @mbg.generated
     */
    public BigDecimal getGrossWeights() {
        return grossWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.gross_weights
     *
     * @param grossWeights the value for co_packing.gross_weights
     *
     * @mbg.generated
     */
    public void setGrossWeights(BigDecimal grossWeights) {
        this.grossWeights = grossWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.net_weights
     *
     * @return the value of co_packing.net_weights
     *
     * @mbg.generated
     */
    public BigDecimal getNetWeights() {
        return netWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.net_weights
     *
     * @param netWeights the value for co_packing.net_weights
     *
     * @mbg.generated
     */
    public void setNetWeights(BigDecimal netWeights) {
        this.netWeights = netWeights;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column co_packing.total_volume
     *
     * @return the value of co_packing.total_volume
     *
     * @mbg.generated
     */
    public BigDecimal getTotalVolume() {
        return totalVolume;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column co_packing.total_volume
     *
     * @param totalVolume the value for co_packing.total_volume
     *
     * @mbg.generated
     */
    public void setTotalVolume(BigDecimal totalVolume) {
        this.totalVolume = totalVolume;
    }
}